package com.vivien.example.springbootdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("Orders")
public class Orders {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String licensePlate;
    private String idNumber;
    private String phone;
    private String region;
    private Date dateStart;
    private Date dateEnd;
    private String energyType;
    private String secondhand;
    private String description;
    private Date createdAt;
    private Date updatedAt;
    private Long price;
}